.container{
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.form{
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link {
  display: block;
  text-align: center;
  color: #0070f3;
  text-decoration: none;
}

.input{
  padding: 20px;
  background-color: transparent;
  border: 2px solid #bbb;
  color:#bbb;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
}

.button {
  width: 300px;
  padding: 20px;
  cursor: pointer;
  background-color: #53c28b;
  border: none;
  border-radius: 5px;
  color: #eee;
  font-weight: bold;
}

/* 邮箱已被注册的提示 */
.errorTip {
    color: #dc2626;
    font-size: 0.85rem;
    margin: 5px 0 10px;
    padding-left: 4px;
}

/* 登录链接样式 */
.loginLink {
    color: #0070f3;
    text-decoration: underline;
    cursor: pointer;
}

/* 禁用状态的按钮样式 */
.button:disabled,
.sendCodeBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #ccc;
}

/* 验证码容器（输入框和按钮并排） */
.codeContainer {
  display: flex;
  gap: 10px;
  width: 100%;
}

.codeInput {
  flex: 2; /* 输入框占2/3宽度 */
  padding: 12px;
}

.sendCodeBtn {
  flex: 1; /* 按钮占1/3宽度 */
  padding: 12px;
  background-color: #0070f3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sendCodeBtn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.error {
  color: #dc2626;
  margin: 10px 0 0;
  font-size: 0.9rem;
}

/* 密码输入框容器 */
.passwordContainer {
  position: relative;
}

/* 密码可见性切换按钮 */
.toggleBtn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toggleBtn:hover {
  opacity: 1;
}

/* 按钮内图标样式 */
.visible, .hidden {
  font-size: 18px;
  line-height: 1;
}

.hidden {
  filter: blur(2px); /* 隐藏状态的视觉效果 */
}